$OpenBSD: patch-lib_util_h,v 1.2 2016/03/19 19:59:35 sthen Exp $
--- lib/util.h.orig	Thu Nov 26 21:12:12 2015
+++ lib/util.h	Sat Mar 19 19:57:09 2016
@@ -23,7 +23,9 @@ size_t rc_strlcpy(char *dst, char const *src, size_t s
 #define SA_LEN(sa) \
   (((sa)->sa_family == AF_INET) ? \
     sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6))
+#endif
 
+#if !defined(SS_LEN)
 #define SS_LEN(sa) \
   (((sa)->ss_family == AF_INET) ? \
     sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6))
